package com.gjintel.auction.business.websocket.model;


public class WebSocketMessageBase {
    private String type;

    private int errorCode = 0;

    private String message;

    public WebSocketMessageBase() {

    }

    public WebSocketMessageBase(String type, int errorCode, String message) {
        this.type = type;
        this.errorCode = errorCode;
        this.message = message;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
